﻿<UserControl x:Class="IsikFx.Project.ClientApp.Content.GoalInfo"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Style="{StaticResource ContentRoot}">
        <Border Height="100" CornerRadius="6"
                                BorderBrush="Gray"
                                Background="PaleGoldenrod"
                                BorderThickness="2"
                                Opacity="0.7" Margin="0,25,0,131">
            <StackPanel HorizontalAlignment="Left"  VerticalAlignment="Center" Height="100" >
                <TextBlock Text="Hesap Hedefim" FontSize="20" Height="50"></TextBlock>
                <StackPanel>
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="150"></ColumnDefinition>
                            <ColumnDefinition Width=" 100"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <ProgressBar Grid.Column="0"  Maximum="{Binding FundAccountGoal}" Value="{Binding FundAccountProgress}" Width="145" HorizontalAlignment="Left" VerticalAlignment="Center" Height="25"></ProgressBar>
                        <TextBlock Grid.Column="1" FontWeight="Bold" HorizontalAlignment="Right" Text="{Binding FundAccountGoalPercantage}" VerticalAlignment="Bottom" />
                    </Grid>
                </StackPanel>
            </StackPanel>
        </Border>
        <Border Height="100" CornerRadius="6"
                                BorderBrush="Gray"
                                Background="PaleGoldenrod"
                                BorderThickness="2"
                                Opacity="0.7" Margin="0,130,0,26">

            <StackPanel HorizontalAlignment="Left" VerticalAlignment="Center" Height="100">
                <TextBlock Text="Fon Hedefim" FontSize="20" Height="50"></TextBlock>
                <StackPanel HorizontalAlignment="Left" VerticalAlignment="Center">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="150"/>
                            <ColumnDefinition Width=" 150"/>
                        </Grid.ColumnDefinitions>
                        <ProgressBar Grid.Column="0" Maximum="{Binding FundAmountGoal}" Value="{Binding FundAmountProgress}" Width="145" Height="25" HorizontalAlignment="Left" />
                        <TextBlock Grid.Column="1" FontWeight="Bold" Text="{Binding FundAmountGoalPercantage}" HorizontalAlignment="Right" />
                    </Grid>
                </StackPanel>
            </StackPanel>
        </Border>
    </Grid>
</UserControl>
